package com.zhentao.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhentao.model.common.app.pojo.ApCar;
import com.zhentao.model.common.app.vo.ApCarVo;
import com.zhentao.model.common.buiness.dto.AddDto;
import com.zhentao.model.common.buiness.dto.CarDto;
import com.zhentao.model.common.dtos.ResponseResult;

/**
* @author 86150
* @description 针对表【ap_car】的数据库操作Service
* @createDate 2024-09-19 18:49:44
*/
public interface ApCarService extends IService<ApCar> {
    /**
     * 购物车查询
     * @param apCarVo
     * @return
     */
    ResponseResult carList(ApCarVo apCarVo);

    /**
     * 添加购物车
     * @param apCar
     * @return
     */
    ResponseResult addCar(ApCar apCar);
    /**
     * 删除购物车
     */
    ResponseResult deleteCar(Integer id);

    ResponseResult carByOrder(AddDto addDto);
}
